package com.mhc.suzuki.service;

import com.mhc.haval.security.model.User;
import com.mhc.suzuki.exception.SuzukiCommonException;

/**
 * Created by HW
 * on 2017/9/4 15:05.
 */
public interface ModificationService {

    /**
     * 申请互换购车人
     * @param orderNo
     * @param reason 原因
     * @param user 当前操作用户
     * @return
     * @throws SuzukiCommonException
     */
    boolean buyerReplacement(String orderNo, String reason, User user) throws SuzukiCommonException;


    /**
     * 互换购车人，具体数据库操作
     * @param orderNo
     * @return
     * @throws SuzukiCommonException
     */
    boolean exchangeBuyer(String orderNo) throws SuzukiCommonException;
}
